<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('注册')"/>
    <style>
        body{
            background-image: url("../static/img/login.jpeg");
        }
        .login-ruleForm {
            position: absolute;
            width: 400px;
            height: 300px;
            background-color: #FFFFFF;
            border-radius: 6px;
            padding: 50px 50px 0 0;
            left: 50%;
            top: 50%;
            margin-left: -200px;
            margin-top: -150px;
            box-shadow: #8c939d;
        }
    </style>
</head>
<body>
<div id="app">
    <el-form :model="ruleForm" status-icon :rules="rules" ref="ruleForm" label-width="100px" class="login-ruleForm">
        <el-form-item label="用户名" prop="loginName">
            <el-input v-model="ruleForm.loginName"></el-input>
        </el-form-item>
        <el-form-item label="密码" prop="password">
            <el-input type="password" v-model="ruleForm.password" autocomplete="off"></el-input>
        </el-form-item>
        <el-form-item label="验证码" prop="code">
            <el-input type="code" v-model="ruleForm.code" autocomplete="off"></el-input>
        </el-form-item>
        <el-form-item>
            <el-button type="primary" @click="login('ruleForm')">提交</el-button>
<!--            <el-button @click="resetForm('ruleForm')">重置</el-button>-->
        </el-form-item>
    </el-form>
</div>
<th:block th:include="include :: footer"/>
</body>
</html>